package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

public class Dials {
    private Integer id;

    private String parentid;

    private String subid;

    private BigDecimal call;

    private BigDecimal shop;

    private Byte isinsurance;// 是否中保险

    private Date time;

    private Subscribers subscribers;

    public Subscribers getSubscribers() {
        return subscribers;
    }

    public void setSubscribers(Subscribers subscribers) {
        this.subscribers = subscribers;
    }

    public Dials() {
		super();
	}

	public Dials(String parentid, String subid, BigDecimal call, BigDecimal shop, Date time) {
		super();
		this.parentid = parentid;
		this.subid = subid;
		this.call = call;
		this.shop = shop;
		this.time = time;
	}

    public Dials(String parentid, String subid, BigDecimal call, BigDecimal shop, Byte isinsurance, Date time) {
        super();
        this.parentid = parentid;
        this.subid = subid;
        this.call = call;
        this.shop = shop;
        this.isinsurance = isinsurance;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getSubid() {
        return subid;
    }

    public void setSubid(String subid) {
        this.subid = subid == null ? null : subid.trim();
    }

    public BigDecimal getCall() {
        return call;
    }

    public void setCall(BigDecimal call) {
        this.call = call;
    }

    public BigDecimal getShop() {
        return shop;
    }

    public void setShop(BigDecimal shop) {
        this.shop = shop;
    }

    public Byte getIsinsurance() {
        return isinsurance;
    }

    public void setIsinsurance(Byte isinsurance) {
        this.isinsurance = isinsurance;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}